package com.ecplatform.cart;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EnableFeignClients(basePackages = "com.ecplatform.api.client")
@ComponentScan(basePackages = {"com.ecplatform.cart", "com.ecplatform.common","com.ecplatform.api"})
@MapperScan(basePackages = "com.ecplatform.cart.mapper")
public class CartApplication {
    public static void main(String[] args) {
        SpringApplication.run(CartApplication.class, args);
    }
}
